<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
namespace Agp\CoreBundle\Manager;

use Doctrine\ORM\EntityManager;
use Agp\CoreBundle\Manager\BaseManager;

/**
 * Description of EventoProdutoManager
 *
 * @author bondcs
 */
class EventoProdutoManager extends BaseManager{
    
    public function remove($entity) {
        $this->container->get('agp.habilitaProdutoTerminal.repository')->clearByProdutoAndByEvento($entity->getProduto(), $entity->getEvento());
        parent::remove($entity);
    }
    

}

?>
